package com.clouddot.baipai.contract;


import com.clouddot.baipai.http.entity.response.loginResponse;

import org.wxy.sdk.base.IBaseModel;
import org.wxy.sdk.base.IBasePresenter;
import org.wxy.sdk.base.IBaseView;

import okhttp3.Call;
import rx.Observable;

/**
 * Created by wxy on 2018/05/27.
 *
 * @author wxy
 */
public interface IScanFaceFragmentContract {

    interface IPresenter extends IBasePresenter {
        void scanFace(String data, String imageType, String topnum, String store);
        void login(String code);

    }

    interface IModel extends IBaseModel {
        Call scanFace(String data, String imageType, String topnum, String store);
        Observable<loginResponse> login(String acttype, String code);

    }

    interface IView extends IBaseView {
        void success(int flag, Object object);

        void fail(int flag, String errMsg);
    }
}
